package com.financial.service.heemoney.dto.param;

import com.financial.service.heemoney.dto.commmon.HeemoneyRefundCommonDTO;
import com.financial.service.heemoney.dto.businsess.HeemoneyRefundBusinessDTO;

/**
 * @Author: wenguoqiang
 * @Email wguoqiango@163.com
 * @Date: 2019/12/3 0003 上午 11:19
 * @Des 汇收银退款参数模型
 */
public class HeemoneyRefundParamDTO extends BaseHeemoneyParamDTO<HeemoneyRefundCommonDTO, HeemoneyRefundBusinessDTO> {

    /**
     * 公共参数
     */
    private HeemoneyRefundCommonDTO heemoneyRefundCommonDTO;
    /**
     * 业务参数
     */
    private HeemoneyRefundBusinessDTO heemoneyRefundBusinessDTO;

    public HeemoneyRefundParamDTO(HeemoneyRefundCommonDTO baseHeemoneyCommonDTO, HeemoneyRefundBusinessDTO baseHeemoneyBusinessDTO) {
        super(baseHeemoneyCommonDTO, baseHeemoneyBusinessDTO);
        this.heemoneyRefundCommonDTO = baseHeemoneyCommonDTO;
        this.heemoneyRefundBusinessDTO = baseHeemoneyBusinessDTO;
    }

    @Override
    protected String getSignStr() {
        return heemoneyRefundCommonDTO.signStr();
    }

    @Override
    protected HeemoneyRefundBusinessDTO getBusinessDTO() {
        return heemoneyRefundBusinessDTO;
    }

    @Override
    protected HeemoneyRefundCommonDTO getCommonDTO() {
        return heemoneyRefundCommonDTO;
    }
}
